/*
//              INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license  agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in  accordance  with the terms of that agreement.
//    Copyright (c) 2006-2007 Intel Corporation. All Rights Reserved.
//
*/
#include "umc_defs.h"
#if defined (UMC_ENABLE_DV_VIDEO_ENCODER)

#ifndef __SEGMENT_READER_H
#define __SEGMENT_READER_H

#include "umc_video_data.h"
#include "ippdefs.h"

namespace UMC
{

class SegmentReader
{
public:
    SegmentReader(Ipp16s nNumOfDIFSeq);
    virtual ~SegmentReader();

    virtual void ReadSegment(struct V_SEGMENT *, Ipp16s DIFSeqNum, Ipp16s VSegmentNum) = 0;

    VideoData *m_lpSourceFrame;

protected:
    Ipp16s m_nNumOfDIFSeq;
};

}//namespace UMC

#endif //__SEGMENT_READER_H

#endif //(UMC_ENABLE_DV_VIDEO_ENCODER)
